package biz.datalk.industrialland.admin.modules.redisdelay.stragety;

import biz.datalk.commons.utils.json.JsonUtil;
import biz.datalk.industrialland.common.def.CommonConstant;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @author tarofang@163.com
 * @date 2024-02-19
 */
@Slf4j
@Component
@Ds(CommonConstant.DS_DEMO)
public class DsDemo extends AbstractDs {

    @Override
    protected DsVOWrapper doHandler(DsDTOWrapper dtoWrapper) {
        log.info("DsDemo exec. [dto={}]", JsonUtil.getJsonFromObject(dtoWrapper, Boolean.TRUE));
        return DsVOWrapper.success();
    }
}
